Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix string representation of extended search filters #24

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

bbannier
Copy link
Member

We want to render search filters similar to e.g., Wireshark. In order to calculate a string representation of extended search filter we need to output their values in a order which is different from other fields.

This patch fixes this directly, but the bigger issue is probably that DecodedAttributeValue is a too generic unit and we should have lower-level types for constructs like extended search filters which know how to render themselves correctly.

Closes #23.

We want to render search filters similar to e.g., Wireshark. In order to
calculate a string representation of extended search filter we need to
output their values in a order which is different from other fields.

This patch fixes this directly, but the bigger issue is probably that
`DecodedAttributeValue` is a too generic unit and we should have
lower-level types for constructs like extended search filters which know
how to render themselves correctly.

Closes #23.
@bbannier bbannier self-assigned this Sep 28, 2023
@bbannier bbannier marked this pull request as ready for review September 28, 2023 09:30
@bbannier bbannier requested a review from rsmmr September 28, 2023 09:31
@bbannier bbannier merged commit 57b5eff into main Sep 29, 2023
3 checks passed
@bbannier bbannier deleted the topic/bbannier/issue-23 branch September 29, 2023 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter attr:matchingRule values reversed
2 participants